<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>饮水记录 - 喝水记录小管家</title>
    <link href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css" rel="stylesheet">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <link rel="stylesheet" href="css/styles.css">
    <style>
        .drink-type-container {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-bottom: 20px;
        }
        .drink-type-item {
            width: calc(33.333% - 7px);
            background-color: #f9f9f9;
            border-radius: 12px;
            padding: 15px 10px;
            text-align: center;
            border: 1px solid #e0e0e0;
        }
        .drink-type-item.selected {
            background-color: rgba(0, 122, 255, 0.1);
            border-color: #007aff;
        }
        .drink-type-icon {
            font-size: 24px;
            margin-bottom: 8px;
        }
        .drink-type-text {
            font-size: 14px;
            font-weight: 500;
        }
        .amount-slider {
            width: 100%;
            margin: 30px 0;
        }
        .amount-display {
            font-size: 48px;
            font-weight: 700;
            color: #007aff;
            text-align: center;
            margin: 20px 0;
        }
        .amount-presets {
            display: flex;
            justify-content: space-between;
            margin-bottom: 30px;
        }
        .amount-preset {
            background-color: #f2f2f7;
            border-radius: 20px;
            padding: 8px 16px;
            font-weight: 500;
        }
        .amount-preset.selected {
            background-color: #007aff;
            color: white;
        }
        .time-selector {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 15px;
            border-radius: 12px;
            background-color: #f9f9f9;
            margin-bottom: 20px;
        }
    </style>
</head>
<body>
    <!-- iOS 状态栏 -->
    <div class="ios-status-bar">
        <div class="status-bar-time">9:41</div>
        <div class="status-bar-icons">
            <i class="fas fa-signal"></i>
            <i class="fas fa-wifi"></i>
            <i class="fas fa-battery-full"></i>
        </div>
    </div>

    <div class="content">
        <h1 class="page-title">记录饮水</h1>
        
        <div class="card">
            <h2 class="section-title">饮水类型</h2>
            <div class="drink-type-container">
                <div class="drink-type-item selected">
                    <div class="drink-type-icon text-blue-500">
                        <i class="fas fa-glass-water"></i>
                    </div>
                    <div class="drink-type-text">白开水</div>
                </div>
                <div class="drink-type-item">
                    <div class="drink-type-icon text-green-500">
                        <i class="fas fa-mug-hot"></i>
                    </div>
                    <div class="drink-type-text">绿茶</div>
                </div>
                <div class="drink-type-item">
                    <div class="drink-type-icon text-blue-400">
                        <i class="fas fa-bottle-water"></i>
                    </div>
                    <div class="drink-type-text">矿泉水</div>
                </div>
                <div class="drink-type-item">
                    <div class="drink-type-icon text-yellow-700">
                        <i class="fas fa-mug-saucer"></i>
                    </div>
                    <div class="drink-type-text">咖啡</div>
                </div>
                <div class="drink-type-item">
                    <div class="drink-type-icon text-red-400">
                        <i class="fas fa-wine-glass"></i>
                    </div>
                    <div class="drink-type-text">果汁</div>
                </div>
                <div class="drink-type-item">
                    <div class="drink-type-icon text-gray-500">
                        <i class="fas fa-plus"></i>
                    </div>
                    <div class="drink-type-text">其他</div>
                </div>
            </div>
        </div>
        
        <div class="card mt-6">
            <h2 class="section-title">饮水量</h2>
            
            <div class="amount-display">300ml</div>
            
            <input type="range" min="50" max="1000" value="300" step="50" class="amount-slider">
            
            <div class="amount-presets">
                <div class="amount-preset">100ml</div>
                <div class="amount-preset selected">300ml</div>
                <div class="amount-preset">500ml</div>
                <div class="amount-preset">750ml</div>
            </div>
        </div>
        
        <div class="card mt-6">
            <h2 class="section-title">饮水时间</h2>
            
            <div class="time-selector">
                <div>
                    <i class="far fa-clock mr-2"></i>
                    <span>现在</span>
                </div>
                <div>
                    <i class="fas fa-chevron-right text-gray-400"></i>
                </div>
            </div>
            
            <div class="time-selector">
                <div>
                    <i class="far fa-calendar-alt mr-2"></i>
                    <span>今天</span>
                </div>
                <div>
                    <i class="fas fa-chevron-right text-gray-400"></i>
                </div>
            </div>
        </div>
        
        <button class="btn-primary mt-8">
            <i class="fas fa-check mr-2"></i>保存记录
        </button>
    </div>
    
    <!-- 底部导航栏 -->
    <div class="ios-tab-bar">
        <div class="tab-item">
            <div class="tab-icon"><i class="fas fa-home"></i></div>
            <div>首页</div>
        </div>
        <div class="tab-item">
            <div class="tab-icon"><i class="fas fa-chart-line"></i></div>
            <div>统计</div>
        </div>
        <div class="tab-item active">
            <div class="tab-icon"><i class="fas fa-plus-circle"></i></div>
            <div>记录</div>
        </div>
        <div class="tab-item">
            <div class="tab-icon"><i class="fas fa-trophy"></i></div>
            <div>社区</div>
        </div>
        <div class="tab-item">
            <div class="tab-icon"><i class="fas fa-user"></i></div>
            <div>我的</div>
        </div>
    </div>
</body>
</html>